package com.alibaba.org.mapper;

import com.alibaba.org.domain.Shop;
import com.alibaba.basic.mapper.BaseMapper;
import com.alibaba.org.dto.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ashe
 * @since 2022-06-04
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 店铺入驻时用来校验当前入驻信息是否入驻过
     * @param shop
     * @return
     */
    Shop loadByMessage(Shop shop);
    /*
    获取每一店铺的状态
     */
    List<ShopDto> getShopState();
}
